<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>薪酬标准明细</title>
</head>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
      content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>

<link rel="stylesheet" type="text/css" th:href="@{/layui/dist/css/layui.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/selbbs.css}"/>
<!-- 引入layui模板-->
<link rel="stylesheet" type="text/css" th:href="@{../lib/layui/css/layui.css}"/>
<!--引入自己的样式-->
<link rel="stylesheet" th:href="@{../css/salarycss.css}">
<script type="text/javascript" th:src="@{/js/jquery-3.6.0.js}"></script>
<script type="text/javascript" th:src="@{/js/addsal.js}"></script>
<style media="screen" type="text/css">
    .box{
        text-align: center;
        margin-top: 10px;
        margin: 0px auto;
    }


</style>
<body class="box">
    <div>
       <table  width="1000px" class="tab1 layui-table">
           <tr>
               <td>薪酬标准编号:</td>
               <td><input type="text" th:value="${salary.payStandardCode}" class=" layui-input reName1" readonly></td>
               <td>薪酬标准名称:</td>
               <td><input type="text" th:value="${salary.nameOfSalary}" class=" layui-input reName1" readonly></td>
               <td>薪酬总额:</td>
               <td><input type="text" th:value="${sum}" class=" layui-input reName1" readonly></td>
           </tr>

           <tr>
               <td>制定人:</td>
               <td><input type="text" th:value="${salary.developPeople}" class=" layui-input reName1" readonly></td>
               <td>登记人:</td>
               <td><input type="text" th:value="${salary.registrant}" class=" layui-input reName1" readonly></td>

               <td>登记时间:</td>
               <td><input type="text" th:value="${#dates.format(salary.hour,'yyyy-MM-dd')}" class=" layui-input reName1" readonly></td>
           </tr>
       </table>
        <table border="1px" width="1000px" class="tab2 layui-table show">
           <tr>
               <td>序号</td>
               <td>薪酬项目名称</td>
               <td>金额(元)</td>
           </tr>
           <tr>
               <td>1</td>
               <td>基本工资</td>
               <td><input type="text" th:value="${salary.regularWage}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>2</td>
               <td>绩效奖金</td>
               <td><input type="text" th:value="${salary.performanceBonus}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>3</td>
               <td>交通补助</td>
               <td><input type="text" th:value="${salary.transportation}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>4</td>
               <td>通讯补助</td>
               <td><input type="text" th:value="${salary.phoneAllowance}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>5</td>
               <td>餐补</td>
               <td><input type="text" th:value="${salary.mealSubsidy}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>6</td>
               <td>住房补助</td>
               <td><input type="text" th:value="${salary.housingAllowance}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>7</td>
               <td>出差补助</td>
               <td><input type="text" th:value="${salary.travelAllowance}" class=" layui-input reName1" readonly></td>
           </tr>
           <tr>
               <td>8</td>
               <td>加班补助</td>
               <td><input type="text" th:value="${salary.overtimeAllowance}" class=" layui-input reName1" readonly></td>
           </tr>

       </table>
        <input type="button" onclick="location.href='/sal/sel'" class="layui-btn layui-btn-normal" value="返回">
    </div>
</body>
</html>